<!--
 * @Author: wjc
 * @Date: 2025-09-28 09:02:43
 * @LastEditors: wjc
 * @LastEditTime: 2025-10-28 11:23:33
 * @Description: 
-->
<template>
  <Scaffold :entity="entity" :actions="actions">
    <template #column_app_hbx_update="{ row }">
      <el-tag :type="row.app_hbx_update === 1 ? 'primary' : 'info'">
        {{ row.app_hbx_update_txt }}
      </el-tag>
    </template>

    <template #column_app_force_update="{ row }">
      <el-tag :type="row.app_force_update === 1 ? 'warning' : 'info'">
        {{ row.app_force_update_txt }}
      </el-tag>
    </template>

    <template #column_app_published="{ row }">
      <el-tag :type="row.app_published === 1 ? 'success' : 'info'">
        {{ row.app_published_txt }}
      </el-tag>
    </template>
  </Scaffold>
</template>

<script setup lang="ts">
  import { getActions } from '#/utils/auth'

  defineOptions({
    name: `AppVersionIndex`,
  })
  const entity = 'AppVersion'
  const actions = getActions('platform-app-version')
</script>
